<?php
namespace app\admin\model;


use think\db\exception\DataNotFoundException;
use think\db\exception\ModelNotFoundException;
use think\exception\DbException;

/**
 * 我的服务资源位-模型
 * @author steven
 * @since: 2023/09/14
 * Class BoxResourcePosition
 * @package app\admin\model
 */
class BoxResourceMyservice extends BaseModel
{
    // 设置数据表名
    protected $name = "box_resource_myservice";

    /**
     * 获取缓存信息
     * @param int $id 记录ID
     * @return mixed
     * @throws DataNotFoundException
     * @throws ModelNotFoundException|DbException
     * @author ZhangXuanNeng
     * @since: 2023/09/14
     */
    public function getInfo($id)
    {
        $info = parent::getInfo($id); // TODO: Change the autogenerated stub
        return $info;
    }

    public function edit($data = [], &$error = '', $is_sql = false)
    {
        $rowId = parent::edit($data, $error, $is_sql);
        return $rowId;
    }


}
